package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.domain.User;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    @Select("select pass from user where username=#{username} ")
    Integer getPassword(String username, Integer pass);
}
